package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class CurrentCollationSpecification implements GeneralValueSpecification {

    private int beginIndex;
    private int endIndex;
    private StringValueExpression stringValueExpression;

    public CurrentCollationSpecification(int beginIndex,
                                         int endIndex,
                                         StringValueExpression stringValueExpression) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.stringValueExpression = stringValueExpression;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public StringValueExpression getStringValueExpression() {
        return stringValueExpression;
    }

}
